<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基于form表单构建http请求</title>
</head>
<body>
    <!--方法为get：客户端传递给服务器的消息是通过url中的query string传递的  若方法为post，则是通过body传递信息-->
    <form action="https://www.sogou.com/index.html" method="get">
        <input type="text" name="username">
        <input type="password" name="password">
        <input type="submit" value ="提交">
    </form>
</body>
</html>